<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
    <title>图片分享社区后台</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/CSS/bootstrap.css" />
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/CSS/bootstrap-maizi.css" />
</head>
<body>
<!--导航-->
<nav class="navbar navbar-default">
    <div class="container">
        <!--小屏幕导航按钮和logo-->
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="head.action" class="navbar-brand">图片分享社区后台</a>
        </div>
        <!--小屏幕导航按钮和logo-->
        <!--导航-->
        <div class="navbar-collapse collapse">
           <ul class="nav navbar-nav">
                <li ><a href="head.action"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;后台首页</a></li>
                <li ><a href="usermanger.action"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;用户管理</a></li>
                <li><a href="contentmanger.action"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;&nbsp;内容管理</a></li>
                <li><a href="labelmanger.action"><span class="glyphicon glyphicon-tags"></span>&nbsp;&nbsp;标签管理</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                       <s:property value="#session.USER_NAME"/>
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu" aria-labelledby="dLabel">
                        <li><a href="<%=basePath%>"><span class="glyphicon glyphicon-screenshot"></span>&nbsp;&nbsp;前台首页</a></li>
                        
                        <li><a href="personsetting.action"><span class="glyphicon glyphicon-cog"></span>&nbsp;&nbsp;个人设置</a></li>
      
                    </ul>
                </li>
                <li><a href="logout.action"><span class="glyphicon glyphicon-off"></span>&nbsp;&nbsp;退出</a></li>
            </ul>
        </div>
        <!--导航-->

    </div>
</nav>
<!--导航-->
<!-- 内容区域 -->
<div class="container">
<div class="row">
<div class="col-md-4">

</div>

<div class="col-md-4">
<ul class="list-group">
  <li class="list-group-item disabled">
   管理员信息
  </li>

  <li  class="list-group-item"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>管理员名<span class="label label-info pull-right" style="font-size:11pt;"> <s:property value="#session.USER_NAME"/></span></li>
  <li  class="list-group-item"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>登录时间<span class="label label-info pull-right" style="font-size:11pt;"> <s:property value="#session.LOGIN_TIME"/></span></li>
  <li  class="list-group-item"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>发布公告数<span class="label label-info pull-right" style="font-size:11pt;"><s:property value="count"/></span></li>
  <li  class="list-group-item"><span class="glyphicon glyphicon-bookmark" aria-hidden="true"></span>角色<span class="label label-info pull-right" style="font-size:11pt;">超级管理员</span></li>

</div>

    </div>

<div class="col-md-4">

</div>
</div>
</div>



<!--footer-->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <p>
                    Copyright&nbsp;©&nbsp;2012-2015&nbsp;&nbsp;www.sharephoto.com&nbsp;&nbsp;粤ICP备13014270号-4
                </p>
            </div>
        </div>
    </div>
</footer>
<!--footer-->
<script src="${pageContext.request.contextPath}/JS/jquery-1.12.3.min.js"></script>
<script src="${pageContext.request.contextPath}/JS/bootstrap.min.js"></script>
</body>
</html>